/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.softwareprincipals.lsp.obey.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.assignment2.softwareprincipals.lsp.obey.model.Paying;
import za.ac.cput.assignment2.softwareprincipals.lsp.obey.model.Renting;

/**
 *
 * @author Matthew
 */
@Configurable
public class LSPObeyConf {
    @Bean(name="renting")
    public Renting rent(){
        return new Renting();
    }
    @Bean(name="paying")
    public Paying pay(){
        return new Paying();
    }
}
